#ifndef _Condition_HPP_
#define _Condition_HPP_

#include <pthread.h>

namespace tp{

class Mutex;


class Condition{
public:
    Condition();
    ~Condition();
    
    void wait(Mutex & );
    void notify_one();
    void notify_all();

private:
    pthread_cond_t _cond;
};


}

#endif

